class SplaySet implements WordSet
{
	private SplayTree base;
	
	public SplaySet()
	{
		base = new SplayTree();
	}
	
	public Word get(Word word)
	{
		return (Word)base.find(word);
	}
	
	public void add(Word wordObject)
	{
		base.insert(wordObject);
	}
}